package com.ruoyi.common.enums;

/**
 * 验证码状态
 */
public enum YzmStateType {

    /**
     * 未使用
     */
    NO_TRAIN(0, "未训练"),

    /**
     * 已使用
     */
    TRAINING(1, "训练中"),

    TRAINED(2,"已训练"),
    EXCEPTION(3,"异常");

    private final Integer code;
    private final String info;

    YzmStateType(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
